<template>
    <div>
        <h1 @click="goabout">跳转到about</h1>
    </div>
</template>
<script setup>
import {useRouter} from 'vue-router'
const router = useRouter()
const goabout=()=>{
    router.push('/about')
}
</script>